Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Windows #115

Merged
merged 1 commit into from
Mar 21, 2024
Merged

Add support for Windows #115

merged 1 commit into from
Mar 21, 2024

Conversation

kageurufu
Copy link
Contributor

elmPathToModuleName assumes a path separator of /, but windows uses \.

This changes to using .split(path.sep).join(".") instead of a regexp replace, so that any platform will use the proper path separator

`elmPathToModuleName` assumes a path separator of `/`, but windows uses `\`. 

This changes to using `.split(path.sep).join(".")` instead of a regexp replace, so that any platform will use the proper path separator
Copy link
Owner

@stoeffel stoeffel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx

@stoeffel stoeffel merged commit bc1f128 into stoeffel:master Mar 21, 2024
1 check passed
@stoeffel
Copy link
Owner

forgot to click merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants